package org.polaris.gift.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import org.polaris.gift.domain.Employee;
import org.polaris.gift.mapper.EmployeeMapper;
import org.polaris.gift.query.EmployeeQuery;
import org.polaris.gift.service.IEmployeeService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author polaris
 * @since 2023-06-20
 */
@Service
public class EmployeeServiceImpl extends ServiceImpl<EmployeeMapper, Employee> implements IEmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;

    @Override
    public List<Employee> selectPageList(Page<Employee> page, EmployeeQuery query) {

        return employeeMapper.selectPageList(page,query);
    }
}
